package jiekou;

public class Computer implements Cpu,Ncun,Yp {


            @Override
    public void brand() {
        System.out.println("cpu的品牌是:Inter,主频是:3.8GHZ");

    }

    @Override
    public void Ncum() {
        System.out.println("内存的容量是:4GB");

    }

    @Override
    public void Yp() {
        System.out.println("硬盘容量:3000GB");

    }
    public static void main(String [] args){
        Computer computer=new Computer();
        System.out.println("计算机的信息如下:");
        computer.brand();
        computer.Ncum();
        computer.Yp();
    }
}
